package com.raycloud.java.dada.service.inter;

import com.raycloud.java.dada.model.AppendDeliver;
import com.raycloud.java.dada.model.OrderStatus;
import com.raycloud.java.dada.model.ShopInfo;
import com.raycloud.java.dada.result.*;

import java.util.List;

/**
 * Created by:  intelliJ IDEA
 *
 * @Author albert
 * @Description:信息查询接口包含各类查询
 * @Date:2017/6/23 上午11:28
 * @package:com.raycloud.java.dada.service.inter
 * @Modified By:
 */
public interface InformationService {

    /**
     * 调用取消订单接口时，需要传递取消原因ID，通过此接口获取订单取消理由列表
     * 配置信息
     *
     * @return
     */
    public List<OrderCancelReasonResult> selectOrderCancelReason() throws Exception;


    /**
     * 查询该商户可追加的配送员信息
     * 调用追加订单时从此接口获取配送员信息
     *
     * @param appendDeliver
     * @return
     */
    public  List<AppendDeliverResult> selectOrderTransporter(AppendDeliver appendDeliver) throws Exception;


    /**
     * 查询订单状态
     *
     * @param orderStatus
     * @return
     */
    public OrderStatusResult selectOrderStatus(OrderStatus orderStatus) throws Exception;


    /**
     * 查询城市代码
     *
     * @return
     */
    public List<CityInfoResult> selectOrderCity() throws Exception;

    /**
     * 查询门店信息
     *
     * @param shopInfo
     * @return
     */
    public ShopResult selectShopInfo(ShopInfo shopInfo) throws Exception;


    /**
     * 查询投诉达达原因
     *
     * @return
     */
    public List<ComplainReasonResult> selectComplaintDadaReason() throws Exception;

}
